home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1999
/
MacHack 1999.toast
/
The Hacks
/
AltiVec Effect
/
EffectDefinitions.h
< prev
next >
Wrap
Text File
|
1998-03-13
|
737b
|
35 lines
/*
File: EffectDefinitions.h
Author: Dan Crow
Copyright: © 1997 by Apple Computer, Inc., all rights reserved.
Useful definitions for the sample effect that are used by both the
effect source code and its resource file, to ensure that these remain
in sync
*/
// resource id numbers for this codec
#define kEffectcdciRes 130
#define kEffectthngRes 130
#define kEffectatmsRes 130
#define kEffectICONRes 130
#define kEffectNameRes 129
#define kEffectDescriptionRes 130
#define kEffectCodeRes 130
// PPC versions are + 1
#if TARGET_OS_MAC && TARGET_CPU_PPC
#define VERSIONDELTA 1
#else
#define VERSIONDELTA 0
#endif
// version number of our effect
#define kDimmerEffectVersion (0x00010000 + VERSIONDELTA)